package com.ruoyi.dynamic.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;

import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 动态点赞对象 t_user_dynamic_like
 * 
 * @author DEREK
 * @date 2023-06-19
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_user_dynamic_like")
public class UserDynamicLike
{

    /** 主键id */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 动态表id */
    @Excel(name = "动态表id")
    private Long dynamicId;

    /** 评论id */
    @Excel(name = "评论id")
    private Long commentId;

    /** 动态/评论 发布者id */
    @Excel(name = "动态/评论 发布者id")
    private Long publishId;

    /** 点赞者用户id */
    @Excel(name = "点赞者用户id")
    private Long userId;

    /** 1:有效 0：无效 */
    @Excel(name = "1:有效 0：无效")
    private Integer status;

    /** 1=动态点赞 2=评论点赞 */
    @Excel(name = "1=动态点赞 2=评论点赞")
    private Integer type;

    private Date createTime;
    private Date updateTime;
}
